home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000006_anthonypieper@cs.com_Mon Nov 24 14:03:56 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Problems with send /delete command
Date: 24 Nov 2003 10:39:19 -0800
Organization: http://groups.google.com
Lines: 34
Message-ID: <f0bb0f39.0311241039.78a6c10e@posting.google.com>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069699160 6586 127.0.0.1 (24 Nov 2003 18:39:20 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 24 Nov 2003 18:39:20 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14682
I have Kermit running on Linux Release 9 and have the following lines
in my script (This first logs me onto a remote server running Linux
7.3 and has Kermit):
set host /pty ssh -e none l root xxx.xxx.xx.xxx
if fail stop 1
minput 30 "password:" ">"
if < \v(minput) 1 stop 1 "MINPUT = \v(minput)"
switch \v(minput) {
:1, echo PASSWORD INPUT OK
lineout xxxxxxxxxx
input 30 "#"
if fail stop 1 PROMPT INPUT FAILED
:2, echo PROMPT INPUT OK
lineout "kermit -x"
input 20 "KERMIT READY TO SERVE..."
rcd /home/inbox
send /delete testfile.dat
}
bye
exit
It logs me in and it gives me the remote directory listing, but when
it executes the send /delete it says the following:
?File not found - "testfile.dat"
Command stack:
3. Macro : SWITCH
2. Macro : _switx
1. File : /home/scripts/testkermit.sh (line 17)
0. Prompt : (top level)
If I get the remote directory listing, I'm not sure why I am getting
this error ?